package music;
public class Test {
	public static void main(String args[]){
		MusicBox f=null;
		f=MusicBoxFactory.getInstance("Piano");
		f.play();
		f=MusicBoxFactory.getInstance("Violin");
		f.play();
	}
}